package com.imc.action;

import java.util.ArrayList;

import org.springframework.stereotype.Component;

import com.imc.beans.TbSystemModel;
import com.imc.daoImpl.LeftMenuDaoImpl;

/**
 * 菜单action
 * 
 * @author elemeNT
 * 
 */
@Component(value = "leftMenuAction")
public class LeftMenuAction extends BaseAction {

	private static final long serialVersionUID = 1L;

	private LeftMenuDaoImpl leftMenuDaoImpl = new LeftMenuDaoImpl();

	@Override
	public String execute() throws Exception {
		ArrayList<TbSystemModel> menus = leftMenuDaoImpl.getElements();
		
		return SUCCESS;

	}

}
